<?= flash() ?? ''; ?>

<div class="breadcrumb d-flex align-items-center px-3 js-scroll">
    <div class="btn btn-icon me-4 js-back" aria-label="返回" role="button" tabindex="0">
        <i class="iconfont icon-left-arrow fs-20"></i>
    </div>
    <h2 class="w-100 fs-18 hand js-top"><?= $page_title ?? ''; ?></h2>
    <div class="ms-auto search">
        <i class="iconfont icon-search"></i>
        <input class="form-control search-input" type="text" placeholder="搜索社群">
    </div>
</div>

<div class="m-3">
    <h2 class="fs-18">置顶社群</h2>
    <div class="p-5 text-center text-muted border-bottom">
        置顶你喜欢的社群，然后就能快速访问他们。
    </div>
</div>
<div>
    <ul class="card-list list-unstyled">
        <li class="d-flex js-tap" data-href="/group/show">
            <img class="avatar avatar-lg me-3" src="/img/avatar.jpg" alt="">
            <div>
                asdf
                <p>asdf</p>
            </div>
            <div class="ms-auto">
                <a href="###" class="btn btn-icon">
                    <i class="iconfont icon-thumbtack fs-20"></i>
                </a>
            </div>
        </li>
    </ul>
</div>

<script>
// 确保DOM加载完毕
document.addEventListener('DOMContentLoaded', () => {
    highlightActiveLink('group');
});
</script>